package com.daz.student.server.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.daz.student.dao.IInquireAnswerDao;
import com.daz.student.pojo.InquireAnswerPojo;
import com.daz.student.server.IInquireAnswerServer;
@Service
public class InquireAnswerServer implements IInquireAnswerServer{
	@Autowired
	public IInquireAnswerDao inquireAnswerDao;
	public List<InquireAnswerPojo> selectInquireAnswer(Map<String, Object> map)throws Exception{
		return inquireAnswerDao.selectInquireAnswer(map);
	}
	public int deleteAll()throws Exception{
		return inquireAnswerDao.deleteAll();
	}
	public int addInquireAnswer(InquireAnswerPojo inquireAnswerPojo)throws Exception{
		return inquireAnswerDao.addInquireAnswer(inquireAnswerPojo);
	}
}
